.data

.text

.global _start
_start:
    li x1, 2147483647
    li x2, 1
    li x3, -1
    li x4, -2147483648
    li x5, 4294967295
    sub x6, x1, x4 # 有符号数相减
    sub x7, x3, x2
    sub x8, x0, x3 # 0值测试
    sub x9, x3, x0
    sub x10, x2, x3 # 多次相减测试
    sub x10, x10, x2 
    sub x11, x4, x1 # 溢出



loop:
    j loop

.section .bss